package com.vcom.sms;

/**
 * Created by Dean on 2015/5/5.
 */

import com.thoughtworks.xstream.converters.SingleValueConverter;

public class CDATAConverter implements SingleValueConverter {


    @Override
    public String toString(Object obj) {
        return "<![CDATA[" + obj + "]]>";
    }

    @Override
    public Object fromString(String str) {
        return null;
    }

    @Override
    public boolean canConvert(Class type) {
        return true;
    }
}